<#import '/_inc/_project.ftl' as _project>
<#macro histroy tableName keyValue>
    <#assign url=_project.urls("/auth/history/gridbytable?tableName=${tableName}&keyValue=${keyValue}")>
    <table id="jx-history-grid"
           data-options="url: '${url}',cls:'jxhistroy-grid',border:true,fit:true">
        <thead>
        <tr>
            <th data-options="title: '操作类型', field: 'operateType', width: 80, align: 'center',formatter: jx.gf.histroyOperateType"></th>
            <th data-options="title: '操作人', field: 'operateUserName', width: 100, align: 'center'"></th>
            <th data-options="title: '操作时间', field: 'operateDateTime', width: 170, align: 'center'"></th>
            <th data-options="title: '消息', field: 'message', width: 230"></th>
        </tr>
        </thead>
    </table>
</#macro>